package com.day11moring.java;

public class Test2 {
    public static void main(String[] args) {
        Star s = new Star();
        s.shine();

        System.out.println("=============");
        Universe u = new Sun() ;
            u.doAnthing();
            Star sun = (Star) u;
            sun.shine();

        };
    }
